<div class="sysLogistics index">
	<h1><?php echo __('物流公司');?></h1>
    <div class="bloc">
        <div class="title">
           <?php echo $this->element('admin/bread')?>
             <p><?php echo $this->Html->link(__('添加'), array('action' => 'add')); ?></p>
        </div>
        <div class="admin_view_table">
			<table cellpadding="0" cellspacing="0">
			 <thead>
				<tr>
						<th><?php echo $this->Paginator->sort('id','ID'); ?></th>
						<th><?php echo $this->Paginator->sort('name','公司名称'); ?></th>
						<th><?php echo $this->Paginator->sort('api_link','接口地址'); ?></th>
						<th><?php echo $this->Paginator->sort('sort','排序'); ?></th>
						<th><?php echo $this->Paginator->sort('enable','启用'); ?></th>
						<th><?php echo $this->Paginator->sort('created','添加时间'); ?></th>
						<th class="actions"><?php echo __('操作'); ?></th>
				</tr>
				 </thead>
			  <tbody>
				<?php foreach ($sysLogistics as $sysLogistic): ?>
				<tr>
					<td><?php echo h($sysLogistic['SysLogistic']['id']); ?>&nbsp;</td>
					<td><?php echo h($sysLogistic['SysLogistic']['name']); ?>&nbsp;</td>
					<td><?php echo h($sysLogistic['SysLogistic']['api_link']); ?>&nbsp;</td>
					<td><?php echo h($sysLogistic['SysLogistic']['sort']); ?>&nbsp;</td>
					<td><?php echo h($sysLogistic['SysLogistic']['enable']); ?>&nbsp;</td>
					<td><?php echo h($sysLogistic['SysLogistic']['created']); ?>&nbsp;</td>
					<td class="action">
						<?php //echo $this->Html->link(__('View'), array('action' => 'view', $sysLogistic['SysLogistic']['id'])); ?>
						<?php echo $this->Html->link(__('修改'), array('action' => 'edit', $sysLogistic['SysLogistic']['id'])); ?>
						<?php //echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $sysLogistic['SysLogistic']['id']), null, __('Are you sure you want to delete # %s?', $sysLogistic['SysLogistic']['id'])); ?>
					</td>
				</tr>
			<?php endforeach; ?>
 </tbody>
			</table>
		</div>
        <div class="pv_page">
            <div>
                <?php
                    echo $this->Paginator->counter(array(
                        'format' => __(' 当前第{:page}页/共{:pages}页 , 当前显示{:start} 至 {:end}条记录')
                    ));
                ?>	
            </div>
            <div class="paging">
                <?php
                    echo $this->Paginator->prev('< ' . __('上一页'), array(), null, array('class' => 'prev disabled'));
                    echo $this->Paginator->numbers(array('separator' => ''));
                    echo $this->Paginator->next(__('下一页') . ' >', array(), null, array('class' => 'next disabled'));
                ?>
            </div>
        </div>
    </div>
</div>